package com.youpingou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;


@Data
@TableName("tb_brand")
public class Brand {
    @TableId(type = IdType.AUTO)
    private Integer id;                 //品牌id

    @TableField(value = "brand_name")
    @JsonProperty(value = "brand_name")
    private String brandName;           //品牌名称

    @TableField(value = "logo")
    private String logo;                //品牌图片地址

}